Builder

class Builder

A builder of Color.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
open fun alpha(alpha: Float): Color.Builder
Sets the alpha channel value in the 0..1 range.
Link copied to clipboard
open fun blue(blue: Float): Color.Builder
Sets the blue channel value in the 0..1 range.
Link copied to clipboard
open fun build(): Color
Returns a new com.teamdev.jxbrowser.ui.internal.rpc.
Link copied to clipboard
open fun green(green: Float): Color.Builder
Sets the green channel value in the 0..1 range.
Link copied to clipboard
open fun red(red: Float): Color.Builder
Sets the red channel value in the 0..1 range.